const fs = require('fs');
const path = require('path');

fs.readdir(path.resolve(__dirname, "./"), function(err, list){
    if(err) throw err;
    console.log(list);
})